﻿using nplJobsCommon.JobSeeker;
using nplJobsDAL.Select;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nplJobsBLL.ProcessJob
{
    public class ProcessAppliedJobsPageWise
    {
       public List<AppliedJobToDisplay> AppliedJobToDisplay { get; set; }
       public int PageIndex { get; set; }
       public int PageSize { get; set; }
       public Guid JobseekerID { get; set; }
       public int RecordCount { get; set; }

        public void invoke()
        {
            SelectAppliedJobsPageWise appliedJobToDisplay = new SelectAppliedJobsPageWise();
            appliedJobToDisplay.JobseekerID = this.JobseekerID;
            appliedJobToDisplay.PageIndex = this.PageIndex;
            appliedJobToDisplay.PageSize = this.PageSize;
            this.AppliedJobToDisplay = appliedJobToDisplay.GetAppliedJobToDisplay();
            this.RecordCount = appliedJobToDisplay.RecordCount;
        }

    }
}
